package com.hivekion.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hivekion.system.domain.SysHome;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysHomeMapper extends BaseMapper<SysHome> {

    /**
     * 查询房屋套数
     * @param pathId
     * @return
     */
    Integer queryHouseTotal(String pathId);

    /**
     * 查询户口表中现有人员的民族信息
     * @return
     */
    List<Map<String, Object>> queryNationInfo();
}
